package com.fire.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;


@EnableCaching
@ComponentScan({"com.fire.article", "com.fire.shop", "com.fire.center", "com.fire.commit"})
@MapperScan({"com.fire.article.mapper", "com.fire.shop.mapper", "com.fire.center.mapper", "com.fire.commit.mapper"})
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class FireSecurityApplication {

    public static void main(String[] args) {

        SpringApplication.run(FireSecurityApplication.class, args);
    }
}
